package com.zyit.service;

import com.zyit.DataObject.T_classify;

import java.util.List;

public interface ClassifyService {
    List<T_classify> findClassify() throws Exception;

    List<T_classify> findTypeClassify(Integer type) throws Exception;

    List<T_classify> findNameClassify(Integer type, Integer classify_name) throws Exception;

    int DeleteClassify(String id) throws Exception;

    List<T_classify> findIdTypeClassify(Integer id) throws Exception;

    T_classify IdTypeClassify(String id) throws Exception;
    int InsertClassfiy(String classname, String parent_id, String type) throws Exception;

    int UpdataClassify(String id, String parent_id, String type) throws Exception;


}
